#ifndef OPTION_H_INCLUDED
#define OPTION_H_INCLUDED


#define OPTION_ERREUR_ENREGISTREMENT 1
#define OPTION_ERREUR_CHARGEMENT 2

enum Langue
{
    LANGUE_FR, LANGUE_EN
};
typedef enum Langue Langue;

enum DegreDifficulte
{
    DIFFICULTE_FACILE, DIFFICULTE_MOYENNE, DIFFICULTE_DIFICILE
};
typedef enum DegreDifficulte DegreDifficulte;


struct Option
{
    Langue langue;
    DegreDifficulte degreDifficulte;
};
typedef struct Option Option;


int Option_enregiter(const Option * option);
int Option_charger(Option * option);

#endif // OPTION_H_INCLUDED
